	<script type="text/javascript" src="js/notice.js"></script>
	<!-- Notice -->
	<fieldset>
		<legend>Notice</legend>
		<div id="noticelist">
			<?php
				foreach($notices as $notice){
					echo "<span id=\"spnnotice" . $notice->getId() ."\">";
					echo "<b>" . $notice->getSubject() . "</b><br/><span>";
					echo $notice->getContent() . "</span> ";
					HTMLUtil::WriteActionButton("Edit", "editNotice('" . $notice->getId() . "')");
					echo " ";
					HTMLUtil::WriteActionButton("Delete", "deleteNotice('" . $notice->getId() . "')");
					echo "<hr></span>\n";
				}
			?>
		</div>
		<div class="block">
			<?php HTMLUtil::AddButton("addNewNotice"); ?>
		</div>
	</fieldset>

	<!-- Notice Dialog -->
	<div id="dialog_newnotice" title="New Notice">
		<form>
			<fieldset>
				<label for="new_notice_subject">Subject</label>
				<input type="text" id="new_notice_subject" class="text ui-widget-content ui-corner-all"/>
				<textarea id="new_notice_content" cols="50" rows="8"></textarea>
			</fieldset>
		</form>
	</div>
	<div id="dialog_editnotice" title="Edit Notice">
		<form>
			<fieldset>
				<label for="edit_notice_subject">Subject</label>
				<input type="text" id="edit_notice_subject" class="text ui-widget-content ui-corner-all"/>
				<textarea id="edit_notice_content" cols="50" rows="8"></textarea>
				<input type="hidden" id="edit_notice_id" />
			</fieldset>
		</form>
	</div>
